<!DOCTYPE html>

#set(title="全部用户")
#@layout()

#define body()
<h1>查询结果&nbsp;&nbsp;

    <a href="/_view/data/add.html">创建用户</a>

</h1>
<img src="/userimg/default_m.jpg">
<div class="table_box" style="text-align: center">
    <table class="list" style="text-align: center">
        <tbody>
        <tr>
            <th width="4%">id</th>
            <th width="18%">用户名</th>
            <th width="17%">密码</th>
            <th width="12%">操作</th>
        </tr>

        #for(x : blogPage)
        <tr>

            <td style="text-align:left;">#(x.id)</td>
            <td style="text-align:left;">#(x.username)</td>
            <td style="text-align:left;">#(x.pwd)</td>
            <td style="text-align:left;">
                &nbsp;&nbsp;<a href="/data/delete/#(x.id)">删除</a>
                &nbsp;&nbsp;<a href="/data/edit/#(x.id)">修改</a>
            </td>
        </tr>
        #end
        </tbody>
    </table>

</div>

#end